#!/usr/bin/env bash

virsh attach-disk 11 /var/lib/libvirt/images/node02-disk2.qcow2   vdc --subdriver  qcow2  --persistent 

#####
####[root@cnsz332563 images]# virsh dumpxml 11 |grep -i qcow2
####      <driver name='qemu' type='qcow2'/>
####      <source file='/var/lib/libvirt/images/node02.qcow2'/>
####      <driver name='qemu' type='qcow2'/>
####      <source file='/var/lib/libvirt/images/node02-disk2.qcow2'/>

virsh domblklist 11


